package com.twetec.cms.model.po.system;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.twetec.cms.model.po.base.BasePO;

/**
 * <p>
 * 组织和用户表
 * </p>
 *
 * @author zhxl
 * @since 2020-10-28
 */
@TableName("SYSTEM_ORG_USER")
public class OrgUserPO extends BasePO {

    private static final long serialVersionUID=1L;

    /**
     * 组织id
     */
    @TableField("ORG_ID")
    private Long orgId;

    /**
     * 用户id
     */
    @TableField("USER_ID")
    private Long userId;

    /**
     * 数据域
     */
    @TableField("DATA_ORG")
    private String dataOrg;


    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getDataOrg() {
        return dataOrg;
    }

    public void setDataOrg(String dataOrg) {
        this.dataOrg = dataOrg;
    }

    @Override
    public String toString() {
        return "OrgUserPO{" +
        "orgId=" + orgId +
        ", userId=" + userId +
        ", dataOrg=" + dataOrg +
        "}";
    }
}
